/*
 * OrderInformationResultInfoListItem.java
 * business
 *
 * Created by ChenTao on 2017/2/28.
 *
 * Copyright (c) 2017年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.widget.listview.displaylistitem;

import android.content.Context;

import com.yidiandao.business.data.bean.Order;
import com.yidiandao.business.ui.widget.listview.DisplayListItem;
import com.yidiandao.business.ui.widget.listview.viewholder.OrderInformationResultInfoHolder;

/** 订单结果 订单信息 ListItem */
public class OrderInformationResultInfoListItem
        extends DisplayListItem<OrderInformationResultInfoHolder, Order> {

    public OrderInformationResultInfoListItem(Order s) {
        super(s);
    }

    @Override
    public void onShow(Context context, OrderInformationResultInfoHolder holder) {
        holder.refreshUI(data);
    }

    @Override
    public String getDisplayItemTag() {
        return OrderInformationResultInfoListItem.class.getSimpleName();
    }

    @Override
    public Class<OrderInformationResultInfoHolder> getViewHolderClazz() {
        return OrderInformationResultInfoHolder.class;
    }
}
